package com.bodu.enums;

/**
 * 模板配置
 *
 * @author:Administrator
 * @create:2022-04-21 11:36
 */
public enum GenTemplateEnum {
    CONTROLLER("controller", "/templete/controller.ftlh"),
    SERVICE("service", "/templete/service.ftlh"),
    SERVICE_IMPL("serviceImpl", "/templete/sericeImpl.ftlh"),
    DAO("dao", "/templete/dao.ftlh"),
    DAO_XML("dao_xml", "/templete/dao_xml.ftlh");

    private String key;

    private String template;

    GenTemplateEnum(String key, String template) {
        this.key = key;
        this.template = template;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getTemplate() {
        return template;
    }

    public void setTemplate(String template) {
        this.template = template;
    }
}
